package com.dtx.controller.in;

import lombok.Data;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;

@Data
public class RegisterUserParam {

    @NotNull
    @NotBlank
    private String name;

    @NotNull
    private Integer age;

    @NotNull
    @NotBlank
    private String email;

    @NotNull
    @NotBlank
    private String password;
}
